MATCHALL
The MATCHALL
field specifier (case sensitive) allows you to find documents in which a specified field occurs in multiple instances, and in which there is at least one match among those instances for each of a set of strings that you specify.
NOTE: You can optimize the field specifier speed by restricting the field to the
To use the MATCHALL
field specifier against fields that were added using the
Format
FieldText=MATCHALL{yourStrings}:yourField
yourStrings
|
One or more strings. A document is returned only if all these strings have exact matches among the instances of NOTE: Strings in the query should be percent-encoded. This ensures that any commas or curly braces that are part of a string are not interpreted as query syntax. If you are sending HTTP requests using the content-type |
yourField
|
The name of the field to match against. A document returns only if it contains the field and only if all yourStrings are matched at least once in various instances of the field. |
Example
FieldText=MATCHALL{Archive,Web,docs}:DIRECTORY
The DIRECTORY
fields must include at least the values Archive
and Web
and docs
for the document to return as a result.
FieldText=MATCHALL{Smith,Garcia,Lee}:SURNAME
The values Smith
, Garcia
, and Lee
must all have matches in the SURNAME
fields for the document to return as a result.
FieldText=MATCHALL{Smith%2C John, Garcia%2C Joaquin}:FULLNAME
The values Smith
, John
and Garcia
, Joaquin
must both have matches in the FULLNAME
fields for the document to return as a result.